package com.ruoyi.account.mapper;

import com.ruoyi.account.domain.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    UserVo selectById(Long id);


    UserVo selectByName(String name);

    List<UserVo> selectUsersByRole(@Param("role") String role);
}